package com.keruyun.portal.whitelist.gateway.dao;


import com.keruyun.portal.whitelist.gateway.entity.ServerService;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * <p>
 * Description: com.keruyun.whitelist.manager.dao
 * </p>
 * date：2018/5/26
 * email:crowhyc@163.com
 *
 * @author Dean.Hwang
 */
public interface ServiceMapper extends MongoRepository<ServerService, String> {
    ServerService findByWhitelistId(String whiteListId);

    ServerService findByDefTrue();
}
